import request from '@/utils/request'
const orderApi = {
  orderPcPage(data) {
    return request({
      url: '/order/pc/page',
      method: 'POST',
      data
    })
  },
  orderCheck(data) {
    return request({
      url: '/pc/check',
      method: 'POST',
      data
    })
  },
  // 退货订单
  salesListPage(data) {
    return request({
      url: '/order/refund-apply/page',
      method: 'POST',
      data
    })
  },
  // 退货订单详情
  orderRefundApply(id) {
    return request({
      url: `/order/refund-apply/${id}`,
      method: 'GET'

    })
  },
  // 退货订单详情
  orderConfirmRefund(data) {
    return request({
      url: `/order/confirm-refund`,
      method: 'POST',
      data

    })
  }

}
export default orderApi
